FluentCommunity\App\Models\User C

Total Complexity 120
Dependencies 16
Dependents 37
Total lines 646
Lines of code 465
Logical lines of code 214
Comment lines 9
Methods 43
Properties 5

Methods 43

Method Rating Maintainability Complexity Lines of code
getSpacePermissions()
A
41 12 62
getSpaceRole()
A
51 9 28
getPhotoAttribute()
A
49 8 30
syncXProfile()
S
48 6 33
updateCustomData()
S
51 6 27
getRolePermissions()
S
51 5 27
getGeneralData()
S
51 4 26
canEditFeed()
S
66 5 7
canDeleteFeed()
S
66 5 7
getDisplayName()
S
62 4 11
getSpaceIds()
S
63 4 11
scopeMentionBy()
S
59 3 15
scopeSearchBy()
S
62 3 12
getContact()
S
62 3 12
updateCustomMeta()
S
58 2 17
getCustomMeta()
S
64 3 10
getPermissions()
S
66 3 9
verifySpacePermission()
S
69 3 6
cacheAccessSpaces()
S
59 2 14
getCommunityRoles()
S
70 2 6
isSpaceModerator()
S
79 2 3
hasCommunityPermission()
S
69 2 7
hasSpacePermission()
S
69 2 7
verifyCommunityPermission()
S
70 2 6
can()
S
71 2 6
getIsVerifiedAttribute()
S
81 1 3
xprofile()
S
79 1 3
spaces()
S
74 1 4
courses()
S
74 1 4
notificationSubscriptions()
S
79 1 3
space_pivot()
S
79 1 3
notification_records()
S
79 1 3
crm_contact()
S
79 1 3
community_role()
S
75 1 4
isCommunityAdmin()
S
79 1 3
isCommunityModerator()
S
78 1 3
hasCommunityModeratorAccess()
S
75 1 4
hasCourseCreatorAccess()
S
75 1 4
hasSpaceManageAccess()
S
73 1 4
getUnreadNotificationCount()
S
74 1 5
getUnreadNotificationFeedIds()
S
68 1 7
isVerified()
S
78 1 3
getUserMeta()
S
78 1 3